[HVM] Move IOAPIC ID back to 0x00. Shift LAPIC IDs to 0x01 upwards.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 27 Nov 2006 12:00:01 +0000 (12:00 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 27 Nov 2006 12:00:01 +0000 (12:00 +0000)
commita41ba620b12f2248bb191846dab5f445e7cbd11c
tree75001527c73cf742471e41d30898836d0833f999
parentfab79a39705efa1ac99cb3c5fabd566e3ec0cbf0
[HVM] Move IOAPIC ID back to 0x00. Shift LAPIC IDs to 0x01 upwards.

Actually the conflict between LAPIC ID 0x00 and IOAPIC ID 0x00
really doesn't matter even in a native system but we can avoid
any risk of a warning by shifting the LAPIC ID space by one.

Also the changeset fixes construction of the MADT (LAPIC info
was overwriting the IOAPIC info) so we can now boot with ACPI
MADT again.

Signed-off-by: Keir Fraser <keir@xensource.com>
tools/firmware/hvmloader/acpi/build.c
tools/firmware/hvmloader/config.h
tools/firmware/hvmloader/mp_tables.c
xen/arch/x86/hvm/vlapic.c